package cn.edu.zut.curriculum.mapper;


import cn.edu.zut.curriculum.entity.User;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface UserMapper {
    int save(User user);

    User queryByAccount(String phone, String email);
    User queryByEmail(String Email);
    User queryByPhone(String Phone);
    User queryByIdUser(long id);
    int updateUser(long id);
    int updateUser2(User user,long uid);



}
